import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
  title: "pxcharts多维表格编辑器",
  description: "一款支持私有化部署的多维表格编辑解决方案",
  head: [['link', { rel: 'icon', href: '/favicon.ico' }]],
  themeConfig: {
    // https://vitepress.dev/reference/default-theme-config
    nav: [
      { text: '首页', link: '/' },
      { text: '文档', link: '/intro' }
    ],

    sidebar: [
      {
        text: '文档目录',
        items: [
          { text: '解决方案介绍', link: '/intro' },
          { text: '技术文档', link: '/api' }
        ]
      }
    ],

    socialLinks: [
      { icon: 'github', link: 'https://github.com/vuejs/vitepress' }
    ],

    footer: {
      message: '让技术更平权，致力于高性价办公协同解决方案',
      copyright: '版权所有 © 2024- flowmix多模态技术团队'
    }
  },
})
